Release 10.1A: OpenEdge Development:
Programming Interfaces
prowtbd() - Write DATE Field
The
prowtbd()function writes a date value to aDATEfield in a shared buffer.On successful completion,
prowtbd()returns 0; otherwise, it returns a non-zero value:Syntax
pbufnamThis input parameter points to the name of the specified shared buffer. You supply the name from your OpenEdge application.
fhandleThis input parameter is the field handle that
profldix()returns for the specified field.indexThis input parameter specifies an index value for an array field. If the field is not an array, you must set the value of index to 0.
yearThis input parameter contains the year value for the specified
DATEfield.monthThis input parameter contains the month value for the specified
DATEfield.dayThis input parameter contains the day value for the specified
DATEfield.unknownIf this input parameter contains the value 1, the Unknown value (
?) is assigned to the variable. If this input parameter contains the value 0, the input value contained in year, month, and day is assigned to the variable.See also
profldix() - Return Field Handle, prordbd() - Read DATE Field, prowtbc() - Write CHARACTER Field, prowtbi() - Write INTEGER Field, prowtbl() - Write LOGICAL Field, prowtbn() - Write DECIMAL Field, prowtbr() - Write RECID Field
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |